"======================================================================
"
" init-tabsize.vim - 大部分人对 tabsize 都有自己的设置，改这里即可
"
" Created by skywind on 2018/05/30
" Last Modified: 2018/05/30 22:05:44
"
"======================================================================
" vim: set ts=4 sw=4 tw=78 noet :


"----------------------------------------------------------------------
" 默认缩进模式（可以后期覆盖）
"----------------------------------------------------------------------

" 设置缩进宽度
set sw=4

" 设置 TAB 宽度
set ts=4

" 展开 tab 成空格
set expandtab

" 禁止展开 tab (noexpandtab)
"set noet

" 展开 tab 为多少个空格
set softtabstop=4

" >> indents by 4 spaces
set shiftwidth=4
" >> indents to next multiple of 'shiftwidth'
set shiftround


augroup PythonTab
	au!
	" 如果你需要 python 里用 tab，那么反注释下面这行字，否则vim会在打开py文件
	" 时自动设置成空格缩进。
	"au FileType python setlocal shiftwidth=4 tabstop=4 noexpandtab
augroup END


"----------------------------------------------------------------------
" 未知设置
"----------------------------------------------------------------------
set tw          =0         " Unknown
set indentexpr  =          " Unknown

